home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20030409-20031118 / 000407_anthonypieper@cs.com_Tue Nov 11 11:09:20 2003.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
  2. From: anthonypieper@cs.com (newexpectuser)
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: Problem with Kermit spawned from Expect script sending files
  5. Date: 11 Nov 2003 04:37:52 -0800
  6. Organization: http://groups.google.com
  7. Lines: 28
  8. Message-ID: <f0bb0f39.0311110437.62628a03@posting.google.com>
  9. References: <f0bb0f39.0311061216.1ba040a0@posting.google.com> <slrnbqlcid.ooo.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311070527.6ce76ffc@posting.google.com> <slrnbqnbfm.380.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311070946.62574f98@posting.google.com> <slrnbqns98.69r.fdc@sesame.cc.columbia.edu> <slrnbqnsgg.856.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311100537.7a4d4faf@posting.google.com> <3fafafd0$1@yorrell.saard.net>
  10. NNTP-Posting-Host: 209.251.39.194
  11. Content-Type: text/plain; charset=ISO-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-Trace: posting.google.com 1068554272 30322 127.0.0.1 (11 Nov 2003 12:37:52 GMT)
  14. X-Complaints-To: groups-abuse@google.com
  15. NNTP-Posting-Date: Tue, 11 Nov 2003 12:37:52 +0000 (UTC)
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14663
  17.  
  18. Arthur Marsh <arthur.marsh@internode.on.net> wrote in message news:<3fafafd0$1@yorrell.saard.net>...
  19. > newexpectuser wrote:
  20. > >>  (wait for shell prompt)
  21. > >>  lineout "kermit -x"     ; Start Kermit server
  22. > >>  rcd somedirectory       ; CD to some directory on the host
  23. > > 
  24. > > I thought this command changed the directory on the remote system. I
  25. > > have most of this working (including connecting now), however once I
  26. > > get connected to the remote server, I want to change into a specific
  27. > > directory on the remote server and I tried the rcd and do a ls -ltr
  28. > > command, but it gives me my directory where I execute the script
  29. > > (local machine) ?
  30. > try using REMOTE DIRECTORY or its shortened form, RDIR
  31. I tried the RDIR and then a ls command to make sure i was in the
  32. remote directory, but I got the local directory listing, unless my ls
  33. command only shows the local directory ?..I am also running this first
  34. from a command line in Unix using ./script.sh.
  35. > > 
  36. > >>  send /delete somefile   ; "move" a file from here to there
  37. > >>  bye                     ; Shut down and log out the server
  38. > >>  exit                    ; Exit from local Kermit program
  39. > >>
  40. > >>- Frank
  41. > Arthur.
  42.